//**********************************************************************************************//
// PROGRAMA: Clock Tower Text dumper/inserter							//
// AUTOR: Fallen_Soul										//
// GRUPO: www.trans-center.cjb.net								//
//**********************************************************************************************//

#define PTRTBL		0x301200
#define HEADER		0x1200
//#define TXT_END   	0x305318	//PT
//#define TXT_END   	0x3051FE	//EN
#define TXT_END   	0x305584	//ES
#define TBL_SIZE	0xFF
#define MAX			35

extern char g_Tbl[TBL_SIZE][MAX]; 
extern int g_PtrTbl[0x200];
extern int g_PtrSize;

//
//
int ReadPtrTbl(FILE*);
int ReadTbl(char*);
int ConvertToChar(int, FILE*, FILE*);
int ConvertToHex(char, FILE*, FILE*);